<template>
  <CommonContainer title="替车出库信息">
    <el-form :model="form" ref="leaseContract" label-width="100px" label-position="right">
      <el-row :gutter="20">
        <el-col :span="8">
          <el-form-item label="出库日:" prop="outStorageTime">
            <span>{{ form.outStorageTime | filterNull }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="出库里程(km):" prop="outboundMileage">
            <span>{{ form.outboundMileage | filterNull }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="出库里程照片:" prop="outboundOilQuantityOss">
            <image-common v-model="form.outboundOilQuantityOss" disabled :up-type="2"></image-common>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="出库油量(%):" prop="outboundOilQuantity">
            <span>{{ form.outboundOilQuantity | filterNull }}</span>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="出库油量照片:" prop="outboundOilQuantityOss">
            <image-common v-model="form.outboundOilQuantityOss" disabled :up-type="2"></image-common>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="交车单:" prop="deliveryNoteOss">
            <image-common v-model="form.deliveryNoteOss" disabled :up-type="2"></image-common>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="车头照片:" prop="outboundCarOss">
            <image-common v-model="form.outboundCarOss" disabled :up-type="2"></image-common>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="10">
        <el-col :span="20">
          <el-form-item label="备注:" prop="remark">
            <span>{{ form.remark | filterNull }}</span>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </CommonContainer>
</template>

<script>
export default {
  components: {},
  name: 'StorageOutInventoryInfoTche',
  props: {
    value: {
      type: Object,
      default: {},
    },
    state: {
      type: String,
      default: '',
    },
  },
  data() {
    return {}
  },
  computed: {
    form: {
      get() {
        return this.value
      },
      set(val) {
        this.$emit('input', val)
      },
    },
  },
  methods: {},
  mounted() {},
}
</script>

<style lang="scss" scoped></style>
